GtkActionHelper: two small fixups in _set_target_value()
authorRyan Lortie <desrt@desrt.ca>
Wed, 22 Aug 2012 04:54:57 +0000 (00:54 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 22 Aug 2012 04:54:57 +0000 (00:54 -0400)
commit81e76746ffc1a9ad77ab7c3c7b9f43e344401e3c
tree24de58be4e54975984e2d15b91134c424f2c4013
parentc5f1dede79d82c4ae084389c5185654b57e2844a
GtkActionHelper: two small fixups in _set_target_value()

First, ensure we always consume floating values, as documented.

Second (and more serious), don't try to query the action if the
action name is not set yet.  This will cause crashes...
gtk/gtkactionhelper.c